import os
import openai
openai.organization = "org-U3ggbvyEJQ2krfFUn96Q0Lfu"
openai.api_key = "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"
# models = openai.Model.list()
# print(models.data[0].id)
completion = openai.ChatCompletion.create(model="gpt-3.5-turbo", messages=[{"role": "user", "content": "Hello world!"}])
print(completion.choices[0].message.content)